<?php
require_once('lanceur_spip.php');

class AllSpipTests extends SpipTestSuite {
    function AllSpipTests() {
        $this->SpipTestSuite('All tests of Alohacart Plugin');        
        
        require_once(_DIR_PLUGIN_ALOHACART.'tests/classes/TestClassAlohacartClientModel.php');
        $this->addTestCase(new TestClassAlohacartClientModel());
        
        require_once(_DIR_PLUGIN_ALOHACART.'tests/classes/TestClassAlohacartExtensionModel.php');
        $this->addTestCase(new TestClassAlohacartExtensionModel());
        
        require_once(_DIR_PLUGIN_ALOHACART.'tests/classes/TestClassAlohacartExtension.php');
        $this->addTestCase(new TestClassAlohacartExtension());
        
        require_once(_DIR_PLUGIN_ALOHACART.'tests/classes/TestClassAlohacart.php');
        $this->addTestCase(new TestClassAlohacart());
        
        require_once(_DIR_PLUGIN_ALOHACART.'tests/classes/TestClassAlohacartOrderModel.php');
        $this->addTestCase(new TestClassAlohacartOrderModel());
        
        require_once(_DIR_PLUGIN_ALOHACART.'tests/classes/TestClassAlohacartOrderProductModel.php');
        $this->addTestCase(new TestClassAlohacartOrderProductModel());
        
        require_once(_DIR_PLUGIN_ALOHACART.'tests/classes/TestClassAlohacartOrderStatutModel.php');
        $this->addTestCase(new TestClassAlohacartOrderStatutModel());
        
        // Payments
        require_once(_DIR_PLUGIN_ALOHACART.'tests/classes/payment/TestClassAlohacartPaymentInterkassa.php');
        $this->addTestCase(new TestClassAlohacartPaymentInterkassa());
        
            require_once(_DIR_PLUGIN_ALOHACART.'tests/classes/payment/invoice/TestClassVatCalculator.php');
            $this->addTestCase(new TestClassVatCalculator());
    }
}

?>
